home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-11-13 | 1.2 KB | 46 lines |
- ### Ko-Window
-
- WINLIB = wlib
- SHEETLIB= sheetlib
-
- make: wsrv wsrv30 libc
- (cd wsrv;$(MAKE) -f ../Makefile wsrv.x)
- (cd wsrv30;$(MAKE) -f ../Makefile wsrv30.x)
- (cd libc;$(MAKE) -f ../Makefile libwin.a)
-
- wsrv wsrv30 libc:
- mkdir $@ $@/$(SHEETLIB) $@/$(WINLIB)
-
- all:
- (cd parts;$(MAKE) KanjiStrlen.o)
- (cd wsrv;$(MAKE))
- (cd wsrv30;$(MAKE) wsrv30.x)
- (cd libc;$(MAKE))
- (cd parts;$(MAKE))
- (cd corlib;$(MAKE))
- (cd mtmlib;$(MAKE))
-
- clean:
- (cd wsrv;$(MAKE) clean)
- (cd wsrv30;$(MAKE) clean)
- (cd libc;$(MAKE) clean)
- (cd mtmlib;$(MAKE) clean)
- rm -f wsrv/Makefile wsrv30/Makefile libc/Makefile
-
-
- ###############################################################################
- MCNV = gcc_cpp.x -traditional
- MAKESRC = ../Makefile.src
- SUP = -DLIB_SUP=1
-
- wsrv.x: $(MAKESRC)
- $(MCNV) -DCPU_68030=0 -DSRC_LINK=0 -DLIB_LIBC=0 $(SUP) $^ > Makefile
- wsrv30.x: $(MAKESRC)
- $(MCNV) -DCPU_68030=1 -DSRC_LINK=1 -DLIB_LIBC=0 $(SUP) $^ > Makefile
- libwin.a: $(MAKESRC)
- $(MCNV) -DCPU_68030=0 -DSRC_LINK=1 -DLIB_LIBC=1 $(SUP) $^ > Makefile
- wsrvX.x: $(MAKESRC)
- $(MCNV) -DCPU_68030=0 -DSRC_LINK=1 -DLIB_LIBC=0 -DLIB_SUP=1 $^ > Makefile
- ###############################################################################
- #:vi:se ts=8 sw=8:
-